SeverityLevel.fromJson constructor

SeverityLevel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SeverityLevel.fromJson(Map<String, dynamic> json) {
  return SeverityLevel(
    code: json['code'] as String?,
    name: json['name'] as String?,
  );
}