toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (messages != null) 'messages': messages!,
      if (name != null) 'name': name!,
      if (notificationType != null) 'notificationType': notificationType!,
      if (subject != null) 'subject': subject!,
    };