ShowProfileRequest.fromJson constructor

ShowProfileRequest.fromJson(
  1. Map<String, dynamic> json
)

Create from JSON map.

Implementation

factory ShowProfileRequest.fromJson(Map<String, dynamic> json) => ShowProfileRequest._(
      customerId: json['customerId'] as String?,
      openDetail: json['openDetail'] as String?,
      hideNavigation: json['hideNavigation'] as bool?,
      showCloseButton: json['showCloseButton'] as bool?,
      widgetUrlPrefix: json['widgetUrlPrefix'] as String?,
      closeButtonColor: json['closeButtonColor'] as String?,
    );