Map<String, dynamic> toJson() { return { '__typename': 'ExternalPurchaseNoticeResultIOS', 'error': error, 'result': result.toJson(), }; }