Skip to content

Instantly share code, notes, and snippets.

View complex.url.matcher.ts
/**
* Copyright (c) Matan Shukry
* All rights reserved.
*/
import { UrlSegment, UrlSegmentGroup, Route } from '@angular/router';
// export type UrlMatchResult = {
// consumed: UrlSegment[]; posParams?: { [name: string]: UrlSegment };
// };
View main.dart
class MyData {
MyData({this.value});
final int? value;
String get valueText {
if (value == null) {
return "No Value";
}