[add-to-app/books] Added missing class declarations from the pigeon file. (#1385)

pull/1398/head
gaaclarke 2 years ago committed by GitHub
parent c006254fec
commit 85fa56b77c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,9 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'package:flutter_module_books/api.dart';
import 'package:pigeon/pigeon.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() @FlutterApi()
abstract class FlutterBookApi { abstract class FlutterBookApi {
void displayBookDetails(Book book); void displayBookDetails(Book book);

Loading…
Cancel
Save