toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final createTime = this.createTime;
  final description = this.description;
  final displayName = this.displayName;
  final endpoints = this.endpoints;
  final infrastructureSpec = this.infrastructureSpec;
  final labels = this.labels;
  final name = this.name;
  final sessionSpec = this.sessionSpec;
  final sessionStatus = this.sessionStatus;
  final state = this.state;
  final uid = this.uid;
  final updateTime = this.updateTime;
  return {
    'createTime': ?createTime,
    'description': ?description,
    'displayName': ?displayName,
    'endpoints': ?endpoints,
    'infrastructureSpec': ?infrastructureSpec,
    'labels': ?labels,
    'name': ?name,
    'sessionSpec': ?sessionSpec,
    'sessionStatus': ?sessionStatus,
    'state': ?state,
    'uid': ?uid,
    'updateTime': ?updateTime,
  };
}