UpdateScreenSchemeDetails.fromJson constructor

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

Implementation

factory UpdateScreenSchemeDetails.fromJson(Map<String, Object?> json) {
  return UpdateScreenSchemeDetails(
    description: json[r'description'] as String?,
    name: json[r'name'] as String?,
    screens: json[r'screens'] != null
        ? UpdateScreenTypes.fromJson(
            json[r'screens']! as Map<String, Object?>)
        : null,
  );
}