SessionSwish.fromJson constructor

SessionSwish.fromJson(
  1. 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));
}