LinkMode.fromJson constructor

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

Constructs a LinkMode from the given json.

The json is expected to be valid encoding obtained via LinkMode.toJson.

Implementation

factory LinkMode.fromJson(Map<String, Object?> json) =>
    LinkModeSyntax.fromSyntax(syntax.LinkMode.fromJson(json));