NamespacedName.fromJson constructor

NamespacedName.fromJson(
  1. Map json_
)

Implementation

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