AccountTicket.fromJson constructor

AccountTicket.fromJson(
  1. Map json_
)

Implementation

AccountTicket.fromJson(core.Map json_)
    : this(
        account: json_.containsKey('account')
            ? Account.fromJson(
                json_['account'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        profile: json_.containsKey('profile')
            ? Profile.fromJson(
                json_['profile'] as core.Map<core.String, core.dynamic>)
            : null,
        redirectUri: json_.containsKey('redirectUri')
            ? json_['redirectUri'] as core.String
            : null,
        webproperty: json_.containsKey('webproperty')
            ? Webproperty.fromJson(
                json_['webproperty'] as core.Map<core.String, core.dynamic>)
            : null,
      );