Input$MonthDaysInput.fromJson constructor

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

Implementation

factory Input$MonthDaysInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  final l$month = data['month'];
  result$data['month'] = (l$month as int);
  if (data.containsKey('days')) {
    final l$days = data['days'];
    result$data['days'] =
        (l$days as List<dynamic>?)?.map((e) => (e as int)).toList();
  }
  return Input$MonthDaysInput._(result$data);
}