$TokenResponse.fromJson constructor

$TokenResponse.fromJson(
  1. Map json_
)

Implementation

$TokenResponse.fromJson(core.Map json_)
    : this(
        expirationTime: json_.containsKey('expirationTime')
            ? json_['expirationTime'] as core.String
            : null,
        token:
            json_.containsKey('token') ? json_['token'] as core.String : null,
      );