toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json[r'emoji'] = emoji;
  _json[r'text'] = text;
  _json[r'duration'] = duration;
  _json[r'expires_at'] = expiresAt;
  return _json;
}