toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final createTime = this.createTime;
  final description = this.description;
  final hosts = this.hosts;
  final labels = this.labels;
  final name = this.name;
  final osType = this.osType;
  final state = this.state;
  final type = this.type;
  return {
    'createTime': ?createTime,
    'description': ?description,
    'hosts': ?hosts,
    'labels': ?labels,
    'name': ?name,
    'osType': ?osType,
    'state': ?state,
    'type': ?type,
  };
}