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 (displayName != null) 'displayName': displayName!,
      if (etag != null) 'etag': etag!,
      if (labels != null) 'labels': labels!,
      if (metadata != null) 'metadata': metadata!,
      if (name != null) 'name': name!,
      if (schemaTitle != null) 'schemaTitle': schemaTitle!,
      if (schemaVersion != null) 'schemaVersion': schemaVersion!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };