Breadcrumb.navigation constructor

Breadcrumb.navigation({
  1. required String from,
  2. required String to,
  3. JsonMap extra = const {},
  4. Level level = Level.info,
  5. Source source = Source.client,
})

Implementation

factory Breadcrumb.navigation({
  required String from,
  required String to,
  JsonMap extra = const {},
  Level level = Level.info,
  Source source = Source.client,
}) =>
    Breadcrumb._(type: 'navigation', level: level, source: source, body: {
      'from': from,
      'to': to,
      ...extra,
    });