Nylo class

Constructors

Nylo({NyRouter? router})

Properties

hashCode int
The hash code for this object.
no setterinherited
router NyRouter?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEvents(Map<Type, NyEvent> events) → dynamic
addRouter(NyRouter router) → dynamic
Allows you to add additional Router's to your project.
getEvents() Map<Type, NyEvent>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
use(NyPlugin plugin) → dynamic
Assign a NyPlugin to add extra functionality to your app from a plugin. e.g. from main.dart Nylo.use(CustomPlugin());

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

init({required dynamic router, Function? setup}) Future<Nylo>
Run to init Nylo