AuthToken.fromJson constructor

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

Creates a new instance of AuthToken from a JSON object.

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

Implementation

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