toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (creator != null) 'creator': creator!,
      if (environmentConfig != null) 'environmentConfig': environmentConfig!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (operation != null) 'operation': operation!,
      if (pysparkBatch != null) 'pysparkBatch': pysparkBatch!,
      if (runtimeConfig != null) 'runtimeConfig': runtimeConfig!,
      if (runtimeInfo != null) 'runtimeInfo': runtimeInfo!,
      if (sparkBatch != null) 'sparkBatch': sparkBatch!,
      if (sparkRBatch != null) 'sparkRBatch': sparkRBatch!,
      if (sparkSqlBatch != null) 'sparkSqlBatch': sparkSqlBatch!,
      if (state != null) 'state': state!,
      if (stateHistory != null) 'stateHistory': stateHistory!,
      if (stateMessage != null) 'stateMessage': stateMessage!,
      if (stateTime != null) 'stateTime': stateTime!,
      if (uuid != null) 'uuid': uuid!,
    };