toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (componentSource != null)
        'componentSource':
            componentSource!.map((value) => value.toJson()).toList(),
      if (componentTransform != null)
        'componentTransform':
            componentTransform!.map((value) => value.toJson()).toList(),
      if (id != null) 'id': id!,
      if (inputSource != null)
        'inputSource': inputSource!.map((value) => value.toJson()).toList(),
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (outputSource != null)
        'outputSource': outputSource!.map((value) => value.toJson()).toList(),
      if (prerequisiteStage != null) 'prerequisiteStage': prerequisiteStage!,
    };