toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final announcement = this.announcement;
  final createTime = this.createTime;
  final method = this.method;
  final name = this.name;
  final state = this.state;
  return {
    'announcement': ?announcement,
    'createTime': ?createTime,
    'method': ?method,
    'name': ?name,
    'state': ?state,
  };
}