toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (emojiName != null) 'emojiName': emojiName!,
  if (name != null) 'name': name!,
  if (payload != null) 'payload': payload!,
  if (temporaryImageUri != null) 'temporaryImageUri': temporaryImageUri!,
  if (uid != null) 'uid': uid!,
};