operator []= method
void
operator []=(
- String key,
- dynamic value
)
override
Implementation
@override
operator []=(String key, value) {
switch(key) {
case "givenName": this.givenName = value as String; break;
case "familyName": this.familyName = value as String; break;
case "email": this.email = value as String; break;
case "phone": this.phone = value as String; break;
case "timeZone": this.timeZone = value as Location; break;
case "photoUrl": this.photoUrl = value as Uri; break;
case "address": this.address = value as IPhysicalLocation; break;
default: wrapped[key] = value;
}
}