VoiceOfMerchantState.fromJson constructor

VoiceOfMerchantState.fromJson(
  1. Map json_
)

Implementation

VoiceOfMerchantState.fromJson(core.Map json_)
    : this(
        complyWithGuidelines: json_.containsKey('complyWithGuidelines')
            ? ComplyWithGuidelines.fromJson(json_['complyWithGuidelines']
                as core.Map<core.String, core.dynamic>)
            : null,
        hasBusinessAuthority: json_.containsKey('hasBusinessAuthority')
            ? json_['hasBusinessAuthority'] as core.bool
            : null,
        hasVoiceOfMerchant: json_.containsKey('hasVoiceOfMerchant')
            ? json_['hasVoiceOfMerchant'] as core.bool
            : null,
        resolveOwnershipConflict:
            json_.containsKey('resolveOwnershipConflict')
                ? ResolveOwnershipConflict.fromJson(
                    json_['resolveOwnershipConflict']
                        as core.Map<core.String, core.dynamic>)
                : null,
        verify: json_.containsKey('verify')
            ? Verify.fromJson(
                json_['verify'] as core.Map<core.String, core.dynamic>)
            : null,
        waitForVoiceOfMerchant: json_.containsKey('waitForVoiceOfMerchant')
            ? WaitForVoiceOfMerchant.fromJson(json_['waitForVoiceOfMerchant']
                as core.Map<core.String, core.dynamic>)
            : null,
      );