Session.fromJson constructor

Session.fromJson(
  1. Map<String, Object?> json
)

Creates a new instance of Session from a JSON object.

The json parameter must be a map with keys and values that can be used to populate an instance of Session.

Implementation

factory Session.fromJson(Map<String, Object?> json) =>
    _$SessionFromJson(json);