From 85fa56b77c2de5d789d26a9386e0916e28504708 Mon Sep 17 00:00:00 2001 From: gaaclarke <30870216+gaaclarke@users.noreply.github.com> Date: Mon, 29 Aug 2022 19:26:49 -0700 Subject: [PATCH] [add-to-app/books] Added missing class declarations from the pigeon file. (#1385) --- .../books/flutter_module_books/pigeon/schema.dart | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/add_to_app/books/flutter_module_books/pigeon/schema.dart b/add_to_app/books/flutter_module_books/pigeon/schema.dart index 9203e764e..95f20f2c4 100644 --- a/add_to_app/books/flutter_module_books/pigeon/schema.dart +++ b/add_to_app/books/flutter_module_books/pigeon/schema.dart @@ -2,9 +2,22 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'package:flutter_module_books/api.dart'; import 'package:pigeon/pigeon.dart'; +class Book { + String? title; + String? subtitle; + String? author; + String? summary; + String? publishDate; + int? pageCount; + Thumbnail? thumbnail; +} + +class Thumbnail { + String? url; +} + @FlutterApi() abstract class FlutterBookApi { void displayBookDetails(Book book);