SecretKeySelector.fromJson constructor

SecretKeySelector.fromJson(
  1. Map json_
)

Implementation

SecretKeySelector.fromJson(core.Map json_)
    : this(
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        localObjectReference: json_.containsKey('localObjectReference')
            ? LocalObjectReference.fromJson(json_['localObjectReference']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        optional: json_.containsKey('optional')
            ? json_['optional'] as core.bool
            : null,
      );