InterconnectMacsec.fromJson constructor

InterconnectMacsec.fromJson(
  1. Map json_
)

Implementation

InterconnectMacsec.fromJson(core.Map json_)
    : this(
        failOpen: json_.containsKey('failOpen')
            ? json_['failOpen'] as core.bool
            : null,
        preSharedKeys: json_.containsKey('preSharedKeys')
            ? (json_['preSharedKeys'] as core.List)
                .map((value) => InterconnectMacsecPreSharedKey.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );