toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (displayName != null) 'displayName': displayName!,
      if (etag != null) 'etag': etag!,
      if (name != null) 'name': name!,
      if (projectId != null) 'projectId': projectId!,
      if (projectNumber != null) 'projectNumber': projectNumber!,
      if (resources != null) 'resources': resources!,
      if (state != null) 'state': state!,
    };