SessionSwish.fromJson constructor
SessionSwish.fromJson(
- Object? json
Implementation
factory SessionSwish.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SessionSwish(
reference:
map['reference'] == null ? null : (map['reference'] as String));
}