ScreenScheme.fromJson constructor

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

Implementation

factory ScreenScheme.fromJson(Map<String, Object?> json) {
  return ScreenScheme(
    description: json[r'description'] as String?,
    id: (json[r'id'] as num?)?.toInt(),
    issueTypeScreenSchemes: json[r'issueTypeScreenSchemes'] != null
        ? PageBeanIssueTypeScreenScheme.fromJson(
            json[r'issueTypeScreenSchemes']! as Map<String, Object?>)
        : null,
    name: json[r'name'] as String?,
    screens: json[r'screens'] != null
        ? ScreenTypes.fromJson(json[r'screens']! as Map<String, Object?>)
        : null,
  );
}