ScreenSchemeDetails.fromJson constructor

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

Implementation

factory ScreenSchemeDetails.fromJson(Map<String, Object?> json) {
  return ScreenSchemeDetails(
    description: json[r'description'] as String?,
    name: json[r'name'] as String? ?? '',
    screens: ScreenTypes.fromJson(
        json[r'screens'] as Map<String, Object?>? ?? const {}),
  );
}