withValue property

PbMapKey Function(Object value) get withValue

Implementation

PbMapKey Function(Object value) get withValue => switch (this) {
      PbIntMapKey() => (value) => PbIntMapKey(value as int),
      PbStringMapKey() => (value) => PbStringMapKey(value as String),
    };