SessionAfterExpiration.fromJson constructor

SessionAfterExpiration.fromJson(
  1. Object? json
)

Implementation

factory SessionAfterExpiration.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SessionAfterExpiration(
      recovery: map['recovery'] == null
          ? null
          : SessionRecovery.fromJson(map['recovery']));
}