toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (endTime != null) 'endTime': endTime!,
      if (name != null) 'name': name!,
      if (restoringServices != null) 'restoringServices': restoringServices!,
      if (serviceRevision != null) 'serviceRevision': serviceRevision!,
      if (state != null) 'state': state!,
    };