Serializes this MessageInput to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;