ScreenDetails.fromJson constructor

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

Implementation

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