setField abstract method

bool setField(
  1. String key,
  2. dynamic value
)

Sets the field with name key to the given value

Returns true if successful and false if the key doesn't exist.

Implementation

bool setField(String key, dynamic value);