SessionCustomText.fromJson constructor
SessionCustomText.fromJson(
- Object? json
Implementation
factory SessionCustomText.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SessionCustomText(
afterSubmit: map['after_submit'] == null
? null
: SigmaScheduledQueryRunError.fromJson(map['after_submit']),
shippingAddress: map['shipping_address'] == null
? null
: SigmaScheduledQueryRunError.fromJson(map['shipping_address']),
submit: map['submit'] == null
? null
: SigmaScheduledQueryRunError.fromJson(map['submit']),
termsOfServiceAcceptance: map['terms_of_service_acceptance'] == null
? null
: SigmaScheduledQueryRunError.fromJson(
map['terms_of_service_acceptance']),
);
}