toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (expectedFormat != null) 'expectedFormat': expectedFormat!,
      if (newFormat != null) 'newFormat': newFormat!,
      if (sampledDataLocations != null)
        'sampledDataLocations': sampledDataLocations!,
    };