operator []= method Null safety

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

Implementation

@override
operator []=(String key, value) {
  switch(key) {
    case "accountId": this.accountId = value as String; break;
    case "eventId": this.eventId = value as String; break;
    default: wrapped[key] = value;
  }
}