LinkableUserLinkDTO.fromJson constructor

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

Implementation

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