operator []= method

  1. @override
void operator []=(
  1. String key,
  2. dynamic value
)
override

Implementation

@override
operator []=(String key, value) {
  switch (key) {
    case "count":
      this.count = value as int;
      break;
    case "data":
      this.data = value as List<IPossession>;
      break;
    default:
      wrapped[key] = value;
  }
}