UserIdentifier.fromJson constructor

UserIdentifier.fromJson(
  1. Map json_
)

Implementation

UserIdentifier.fromJson(core.Map json_)
    : this(
        addressInfo: json_.containsKey('addressInfo')
            ? OfflineUserAddressInfo.fromJson(
                json_['addressInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        hashedEmail: json_.containsKey('hashedEmail')
            ? json_['hashedEmail'] as core.String
            : null,
        hashedPhoneNumber: json_.containsKey('hashedPhoneNumber')
            ? json_['hashedPhoneNumber'] as core.String
            : null,
      );