toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (computationRanges != null)
        'computationRanges':
            computationRanges!.map((value) => value.toJson()).toList(),
      if (dataDisks != null)
        'dataDisks': dataDisks!.map((value) => value.toJson()).toList(),
      if (taskType != null) 'taskType': taskType!,
    };