createScopeByDefinition method
Scope
createScopeByDefinition(
- String scopeId,
- ScopeDefinition scopeDefinition, {
- dynamic source,
Implementation
Scope createScopeByDefinition(String scopeId, ScopeDefinition scopeDefinition,
{dynamic source}) {
Scope scope = Scope(_fluttin, scopeId, scopeDefinition, source: source);
List<Scope> links = <Scope>[];
if (null != _rootScope) {
links.add(_rootScope!);
}
scope.create(links);
return scope;
}