metadata property

set metadata (String metadata)

Setter function for the metadata of the room Note: This will not update the metadata of the room, this is just a setter function for the metadata To notify everyone in the room about the metadata change, use the updateMetadata function

Implementation

set metadata(String metadata) {
  _metadata = metadata;

  final parse = json.decode(metadata);
  emit('metadata-updated', parse);
}