Creates an event from a JSON map.
factory RecordStateChanged.fromJson(Map<String, dynamic> json) => _$RecordStateChangedFromJson(json);