Creates a new instance from a json
factory MessageState.fromJson(Map<String, dynamic> json) => _$MessageStateFromJson(json);