Authentication.fromJson constructor

Authentication.fromJson(
  1. Map json_
)

Implementation

Authentication.fromJson(core.Map json_)
    : this(
        customAccount: json_.containsKey('customAccount')
            ? CustomAccount.fromJson(
                json_['customAccount'] as core.Map<core.String, core.dynamic>)
            : null,
        googleAccount: json_.containsKey('googleAccount')
            ? GoogleAccount.fromJson(
                json_['googleAccount'] as core.Map<core.String, core.dynamic>)
            : null,
        iapCredential: json_.containsKey('iapCredential')
            ? IapCredential.fromJson(
                json_['iapCredential'] as core.Map<core.String, core.dynamic>)
            : null,
      );