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