NameAndKind.fromJson constructor

NameAndKind.fromJson(
  1. Map json_
)

Implementation

NameAndKind.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );