DestinationConfig.fromJson constructor
Implementation
factory DestinationConfig.fromJson(Map<String, dynamic> json) {
return DestinationConfig(
onFailure: json['OnFailure'] != null
? OnFailure.fromJson(json['OnFailure'] as Map<String, dynamic>)
: null,
onSuccess: json['OnSuccess'] != null
? OnSuccess.fromJson(json['OnSuccess'] as Map<String, dynamic>)
: null,
);
}