FlintPageRoute<TProps extends FlintProps> constructor

const FlintPageRoute<TProps extends FlintProps>({
  1. required String name,
  2. required TProps fromJson(
    1. Map<String, dynamic> json
    ),
  3. required FlintComponent builder(
    1. TProps props
    ),
})

Creates a strongly-typed page route definition.

Implementation

const FlintPageRoute({
  required this.name,
  required this.fromJson,
  required this.builder,
});