DataflowDetail.fromJson constructor

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

Implementation

factory DataflowDetail.fromJson(Map<String, dynamic> json) {
  return DataflowDetail(
    destination: json['destination'] != null
        ? Destination.fromJson(json['destination'] as Map<String, dynamic>)
        : null,
    errorMessage: json['errorMessage'] as String?,
    source: json['source'] != null
        ? Source.fromJson(json['source'] as Map<String, dynamic>)
        : null,
  );
}