toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (computationId != null) 'computationId': computationId!,
      if (inputs != null)
        'inputs': inputs!.map((value) => value.toJson()).toList(),
      if (keyRanges != null)
        'keyRanges': keyRanges!.map((value) => value.toJson()).toList(),
      if (outputs != null)
        'outputs': outputs!.map((value) => value.toJson()).toList(),
      if (stateFamilies != null)
        'stateFamilies':
            stateFamilies!.map((value) => value.toJson()).toList(),
      if (systemStageName != null) 'systemStageName': systemStageName!,
    };