SessionP24.fromJson constructor

SessionP24.fromJson(
  1. Object? json
)

Implementation

factory SessionP24.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SessionP24(
      tosShownAndAccepted: map['tos_shown_and_accepted'] == null
          ? null
          : (map['tos_shown_and_accepted'] as bool));
}