CheckoutSettings.fromJson constructor
CheckoutSettings.fromJson(
- Map json_
Implementation
CheckoutSettings.fromJson(core.Map json_)
: this(
effectiveEnrollmentState:
json_.containsKey('effectiveEnrollmentState')
? json_['effectiveEnrollmentState'] as core.String
: null,
effectiveReviewState: json_.containsKey('effectiveReviewState')
? json_['effectiveReviewState'] as core.String
: null,
effectiveUriSettings: json_.containsKey('effectiveUriSettings')
? UrlSettings.fromJson(json_['effectiveUriSettings']
as core.Map<core.String, core.dynamic>)
: null,
enrollmentState: json_.containsKey('enrollmentState')
? json_['enrollmentState'] as core.String
: null,
merchantId: json_.containsKey('merchantId')
? json_['merchantId'] as core.String
: null,
reviewState: json_.containsKey('reviewState')
? json_['reviewState'] as core.String
: null,
uriSettings: json_.containsKey('uriSettings')
? UrlSettings.fromJson(
json_['uriSettings'] as core.Map<core.String, core.dynamic>)
: null,
);