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