// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'vibrate_model.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

VibrateEffect _$VibrateEffectFromJson(Map<String, dynamic> json) =>
    VibrateEffect(
      (json['pattern'] as List<dynamic>?)?.map((e) => e as int).toList() ?? [],
      (json['intensities'] as List<dynamic>?)?.map((e) => e as int).toList() ??
          [],
      json['amplitude'] as int? ?? -1,
      json['amplitude_duration'] as int? ?? 500,
      json['duration'] as int? ?? 500,
    );

Map<String, dynamic> _$VibrateEffectToJson(VibrateEffect instance) =>
    <String, dynamic>{
      'pattern': instance.pattern,
      'intensities': instance.intensities,
      'amplitude': instance.amplitude,
      'amplitude_duration': instance.amplitudeDuration,
      'duration': instance.duration,
    };
