toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (announcement != null) 'announcement': announcement!,
      if (createTime != null) 'createTime': createTime!,
      if (method != null) 'method': method!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
    };