toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (message != null) 'message': message!,
      if (name != null) 'name': name!,
      if (releaseTime != null) 'releaseTime': releaseTime!,
      if (releaseUser != null) 'releaseUser': releaseUser!,
      if (type != null) 'type': type!,
      if (version != null) 'version': version!,
    };