ResolutionJsonBean.fromJson constructor

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

Implementation

factory ResolutionJsonBean.fromJson(Map<String, Object?> json) {
  return ResolutionJsonBean(
    default$: json[r'default'] as bool? ?? false,
    description: json[r'description'] as String?,
    iconUrl: json[r'iconUrl'] as String?,
    id: json[r'id'] as String?,
    name: json[r'name'] as String?,
    self: json[r'self'] as String?,
  );
}