getMetadata<T> method

T getMetadata<T>()

Get the metadata of the room

Implementation

T getMetadata<T>() {
  final data = json.decode(_metadata ?? '{}');
  return data as T;
}