ScreenWithTab.fromJson constructor
Implementation
factory ScreenWithTab.fromJson(Map<String, Object?> json) {
return ScreenWithTab(
description: json[r'description'] as String?,
id: (json[r'id'] as num?)?.toInt(),
name: json[r'name'] as String?,
scope: json[r'scope'] != null
? Scope.fromJson(json[r'scope']! as Map<String, Object?>)
: null,
tab: json[r'tab'] != null
? ScreenableTab.fromJson(json[r'tab']! as Map<String, Object?>)
: null,
);
}