SecretKeySelector.fromJson constructor

SecretKeySelector.fromJson(
  1. Map json_
)

Implementation

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