toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (computations != null)
        'computations': computations!.map((value) => value.toJson()).toList(),
      if (dataDiskAssignments != null)
        'dataDiskAssignments':
            dataDiskAssignments!.map((value) => value.toJson()).toList(),
      if (forwardingKeyBits != null) 'forwardingKeyBits': forwardingKeyBits!,
      if (persistentStateVersion != null)
        'persistentStateVersion': persistentStateVersion!,
      if (userStageToComputationNameMap != null)
        'userStageToComputationNameMap': userStageToComputationNameMap!,
    };