OnFailure.fromJson constructor

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

Implementation

factory OnFailure.fromJson(Map<String, dynamic> json) {
  return OnFailure(
    destination: json['Destination'] as String?,
  );
}