AccountBusinessIdentity.fromJson constructor

AccountBusinessIdentity.fromJson(
  1. Map json_
)

Implementation

AccountBusinessIdentity.fromJson(core.Map json_)
    : this(
        blackOwned: json_.containsKey('blackOwned')
            ? AccountIdentityType.fromJson(
                json_['blackOwned'] as core.Map<core.String, core.dynamic>)
            : null,
        includeForPromotions: json_.containsKey('includeForPromotions')
            ? json_['includeForPromotions'] as core.bool
            : null,
        latinoOwned: json_.containsKey('latinoOwned')
            ? AccountIdentityType.fromJson(
                json_['latinoOwned'] as core.Map<core.String, core.dynamic>)
            : null,
        smallBusiness: json_.containsKey('smallBusiness')
            ? AccountIdentityType.fromJson(
                json_['smallBusiness'] as core.Map<core.String, core.dynamic>)
            : null,
        veteranOwned: json_.containsKey('veteranOwned')
            ? AccountIdentityType.fromJson(
                json_['veteranOwned'] as core.Map<core.String, core.dynamic>)
            : null,
        womenOwned: json_.containsKey('womenOwned')
            ? AccountIdentityType.fromJson(
                json_['womenOwned'] as core.Map<core.String, core.dynamic>)
            : null,
      );