toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final attributes = this.attributes;
  final createTime = this.createTime;
  final description = this.description;
  final discoveredWorkload = this.discoveredWorkload;
  final displayName = this.displayName;
  final name = this.name;
  final state = this.state;
  final uid = this.uid;
  final updateTime = this.updateTime;
  final workloadProperties = this.workloadProperties;
  final workloadReference = this.workloadReference;
  return {
    'attributes': ?attributes,
    'createTime': ?createTime,
    'description': ?description,
    'discoveredWorkload': ?discoveredWorkload,
    'displayName': ?displayName,
    'name': ?name,
    'state': ?state,
    'uid': ?uid,
    'updateTime': ?updateTime,
    'workloadProperties': ?workloadProperties,
    'workloadReference': ?workloadReference,
  };
}