DiscoverableProgram.fromJson constructor
DiscoverableProgram.fromJson(
- Map json_
Implementation
DiscoverableProgram.fromJson(core.Map json_)
: this(
merchantSigninInfo: json_.containsKey('merchantSigninInfo')
? DiscoverableProgramMerchantSigninInfo.fromJson(
json_['merchantSigninInfo']
as core.Map<core.String, core.dynamic>)
: null,
merchantSignupInfo: json_.containsKey('merchantSignupInfo')
? DiscoverableProgramMerchantSignupInfo.fromJson(
json_['merchantSignupInfo']
as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);