residentKey property

ResidentKeyRequirement? get residentKey

Implementation

_i3.ResidentKeyRequirement? get residentKey => switch (_i4.getProperty(
      this,
      'residentKey',
    )) {
      _i2.String name =>
        _i3.ResidentKeyRequirementOptions.values.byName(name),
      _ => null
    };
set residentKey (ResidentKeyRequirement? value)

Implementation

set residentKey(_i3.ResidentKeyRequirement? value) {
  _i4.setProperty(
    this,
    'residentKey',
    value?.name ?? _i6.undefined ?? _i6.undefined,
  );
}