toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (expectedCommand != null) 'expectedCommand': expectedCommand!,
      if (expectedMaterials != null)
        'expectedMaterials':
            expectedMaterials!.map((value) => value.toJson()).toList(),
      if (expectedProducts != null)
        'expectedProducts':
            expectedProducts!.map((value) => value.toJson()).toList(),
      if (signingKeys != null)
        'signingKeys': signingKeys!.map((value) => value.toJson()).toList(),
      if (stepName != null) 'stepName': stepName!,
      if (threshold != null) 'threshold': threshold!,
    };