Breadcrumb.fromJson constructor

Breadcrumb.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Breadcrumb.fromJson(Map<String, Object?> json) {
  return Breadcrumb(
    label: json[r'label'] as String? ?? '',
    url: json[r'url'] as String? ?? '',
    separator: json[r'separator'] as String? ?? '',
  );
}