toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'storeId': storeId,
  'identityVerificationId': identityVerificationId,
  if (channelKey != null) 'channelKey': channelKey!,
  if (customer != null) 'customer': customer!.toJson(),
  if (windowType != null) 'windowType': windowType!.toJson(),
  if (forceRedirect != null) 'forceRedirect': forceRedirect!,
  if (customData != null) 'customData': customData!,
  if (bypass != null) 'bypass': bypass!.toJson(),
  if (popup != null) 'popup': popup!.toJson(),
  if (iframe != null) 'iframe': iframe!.toJson(),
};