Linkeable.fromJson constructor

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

Creates a Linkeable object from json

Can create a MediaLinkeable, DocumentLinkeable or WebLinkeable depending on link_type from json.

Implementation

factory Linkeable.fromJson(Map<String, dynamic> json) =>
    _$LinkeableFromJson(json);