Map<String, dynamic> toJson() { final size = this.size; return { if (size != null) 'Size': size, }; }