toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final createTime = this.createTime;
  final creator = this.creator;
  final environmentConfig = this.environmentConfig;
  final jupyterSession = this.jupyterSession;
  final labels = this.labels;
  final name = this.name;
  final runtimeConfig = this.runtimeConfig;
  final runtimeInfo = this.runtimeInfo;
  final sessionTemplate = this.sessionTemplate;
  final sparkConnectSession = this.sparkConnectSession;
  final state = this.state;
  final stateHistory = this.stateHistory;
  final stateMessage = this.stateMessage;
  final stateTime = this.stateTime;
  final user = this.user;
  final uuid = this.uuid;
  return {
    'createTime': ?createTime,
    'creator': ?creator,
    'environmentConfig': ?environmentConfig,
    'jupyterSession': ?jupyterSession,
    'labels': ?labels,
    'name': ?name,
    'runtimeConfig': ?runtimeConfig,
    'runtimeInfo': ?runtimeInfo,
    'sessionTemplate': ?sessionTemplate,
    'sparkConnectSession': ?sparkConnectSession,
    'state': ?state,
    'stateHistory': ?stateHistory,
    'stateMessage': ?stateMessage,
    'stateTime': ?stateTime,
    'user': ?user,
    'uuid': ?uuid,
  };
}