toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      'emoji': emoji,
      'title': title,
      'is_active': isActive,
      'static_icon': staticIcon.toJson(),
      'appear_animation': appearAnimation.toJson(),
      'select_animation': selectAnimation.toJson(),
      'activate_animation': activateAnimation.toJson(),
      'effect_animation': effectAnimation.toJson(),
      'around_animation': aroundAnimation?.toJson(),
      'center_animation': centerAnimation?.toJson(),
      '@type': constructor,
    };