Input$InsightsBreakdownsInput.fromJson constructor

Input$InsightsBreakdownsInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$InsightsBreakdownsInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  final l$topCountries = data['topCountries'];
  result$data['topCountries'] =
      (l$topCountries as List<dynamic>).map((e) => (e as String)).toList();
  final l$topDevice = data['topDevice'];
  result$data['topDevice'] = (l$topDevice as String);
  final l$weakDevice = data['weakDevice'];
  result$data['weakDevice'] = (l$weakDevice as String);
  return Input$InsightsBreakdownsInput._(result$data);
}