AnalyticsSettings.fromJson constructor

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

Implementation

factory AnalyticsSettings.fromJson(Map<String, dynamic> json) {
  return AnalyticsSettings(
    enabled: json['enabled'] as bool,
    userId: json['userId'] as String?,
    parameters: json['parameters'] as Map<String, dynamic>?,
    appId: json['appId'] as String?,
  );
}