operator []= method

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

Implementation

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