pushReplacementAsset static method
Replaces the current route with a screen loaded from a local asset file.
Implementation
static StacNavigateAction pushReplacementAsset(
String assetPath, {
Map<String, dynamic>? result,
}) {
return StacNavigateAction(
navigationStyle: NavigationStyle.pushReplacement,
assetPath: assetPath,
result: result,
);
}