OnlineStoreConfig.fromJson constructor

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

Implementation

factory OnlineStoreConfig.fromJson(Map<String, dynamic> json) {
  return OnlineStoreConfig(
    enableOnlineStore: json['EnableOnlineStore'] as bool?,
    securityConfig: json['SecurityConfig'] != null
        ? OnlineStoreSecurityConfig.fromJson(
            json['SecurityConfig'] as Map<String, dynamic>)
        : null,
  );
}