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