Classes have lifecycles
class Animal { String _name =' ';
void sayHello() { if (_name.isEmpty) { print('Hello'); }
Either explicit or implicit type //assigning type can be considered best practice. It provides better errors and simplifies var x = 5 //implicit INT String coolWord = "antelope" //explicit type
VAR coolWord OBJECT String VALUE "antelope"
Six specific types: Integers, Strings, floating-point numbers, booleans, lists, maps
core - manages the lifecycle of the HTTP server
-main is the entry point
start-app starts the app
stop-app ends the app
luminus defaults to Immutant HTTP server
handler - aggregates all of the routes and then wraps them with necessary middleware
routes - contains the namespaces that are responsible for handling different types of client request
db - reserved for the data model of the application and persistence layer
layout - logic for generating the application layout
0429abae9b5421e3e07cb4eccbed841e512d55716f0372f555fc95e7aa8ae10d518639a1e59fa364016197a6cf1065740530f9fb4b1b85834066edfe9c317d12c6 |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: