fromMap static method
Implementation
static SettingsGeneralSettingsDashboard? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return SettingsGeneralSettingsDashboard(
accounting: readText(source['accounting']),
defaultDashboard: readAny(source['defaultDashboard']),
executive: readText(source['executive']),
finance: readText(source['finance']),
production: readText(source['production']),
purchase: readText(source['purchase']),
sales: readText(source['sales']),
);
}