mirror of
https://github.com/flutter/samples.git
synced 2026-05-31 03:19:51 +00:00
Beta (#1234)
This commit is contained in:
@@ -2,22 +2,9 @@
|
||||
// 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);
|
||||
|
||||
Reference in New Issue
Block a user