AvailableDashboardGadgetsResponse.fromJson constructor
Implementation
factory AvailableDashboardGadgetsResponse.fromJson(
Map<String, Object?> json) {
return AvailableDashboardGadgetsResponse(
gadgets: (json[r'gadgets'] as List<Object?>?)
?.map((i) => AvailableDashboardGadget.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}