schema_org 2.1.1
schema_org: ^2.1.1 copied to clipboard
Type-safe Dart classes for the full Schema.org vocabulary. Serialize to JSON-LD on any platform, or inject it into the page on Flutter web.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add schema_orgThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
schema_org: ^2.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:schema_org/schema_org.dart';