Map<String, dynamic> toMap() { Map<String, dynamic> map = {}; if (_bytes != null) { map['bytes'] = _bytes; } return map; }