AvailableDashboardGadget.fromJson constructor

AvailableDashboardGadget.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory AvailableDashboardGadget.fromJson(Map<String, Object?> json) {
  return AvailableDashboardGadget(
    moduleKey: json[r'moduleKey'] as String?,
    title: json[r'title'] as String? ?? '',
    uri: json[r'uri'] as String?,
  );
}