toJson method

Map<String, Object> toJson()

Converts the AppRoutePath object as a Json object.

Implementation

Map<String, Object> toJson() => <String, Object>{
      'path': path ?? '',
      'isUnknown': isUnknown,
      'isHomePage': isHomePage,
    };