Linkable.fromJson constructor

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

Implementation

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