Source.fromJson constructor

Source.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Source.fromJson(Map<String, dynamic> json) {
  return Source(
    configDetails: json['configDetails'] != null
        ? ConfigDetails.fromJson(
            json['configDetails'] as Map<String, dynamic>)
        : null,
    configId: json['configId'] as String?,
    configType: (json['configType'] as String?)?.toConfigCapabilityType(),
    dataflowSourceRegion: json['dataflowSourceRegion'] as String?,
  );
}