toJson method

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

Converts an object to JSON.

Implementation

@override
Map<String, dynamic> toJson() {
  final returnValue = <String, dynamic>{
    '\$hash': 'c077ec01',
    '\$name': 'AvailableReaction',
    'flags': flags,
    'inactive': inactive,
    'premium': premium,
    'reaction': reaction,
    'title': title,
    'staticIcon': staticIcon,
    'appearAnimation': appearAnimation,
    'selectAnimation': selectAnimation,
    'activateAnimation': activateAnimation,
    'effectAnimation': effectAnimation,
    'aroundAnimation': aroundAnimation,
    'centerIcon': centerIcon,
  };

  // Finished toJson.
  return returnValue;
}