SdkParameter.fromJson constructor

SdkParameter.fromJson({
  1. required Map<String, dynamic> json,
})

Implementation

factory SdkParameter.fromJson({required Map<String, dynamic> json}) =>
    SdkParameter(
      apiKey: json['apiKey'],
      siteId: json['siteId'],
      pushEnabled: json['pushEnabled'] ?? true,
      isSubscribed: json['isSubscribed'] ?? true,
    );