toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (ancestors != null) 'ancestors': ancestors!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (labels != null) 'labels': labels!,
      if (location != null) 'location': location!,
      if (platform != null) 'platform': platform!,
      if (resource != null) 'resource': resource!,
      if (system != null) 'system': system!,
      if (updateTime != null) 'updateTime': updateTime!,
    };