fromString method

GroupKey? fromString(
  1. String val
)

Implementation

GroupKey? fromString(String val) {
  final override = {
    'room_id': GroupKey.roomId,
    'sender': GroupKey.sender,
  }[val];
// ignore: unnecessary_this
  return this.contains(override) ? override : null;
}