InsightsConfiguration.fromJson constructor

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

Implementation

factory InsightsConfiguration.fromJson(Map<String, dynamic> json) {
  return InsightsConfiguration(
    insightsEnabled: json['InsightsEnabled'] as bool?,
    notificationsEnabled: json['NotificationsEnabled'] as bool?,
  );
}