RequestTypeIconDTO.fromJson constructor

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

Implementation

factory RequestTypeIconDTO.fromJson(Map<String, Object?> json) {
  return RequestTypeIconDTO(
    links: json[r'_links'] != null
        ? RequestTypeIconLinkDTO.fromJson(
            json[r'_links']! as Map<String, Object?>)
        : null,
    id: json[r'id'] as String?,
  );
}