OnSuccess.fromJson constructor

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

Implementation

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