StateEvent.fromJson constructor
Implementation
StateEvent.fromJson(Map<String, Object?> json)
: content = json['content'] as Map<String, Object?>,
stateKey = ((v) => v != null ? v as String : null)(json['state_key']),
type = json['type'] as String;