data property Null safety

Map<String, dynamic> data
final

This contains a list of data that can be shared between middlewares and endpoints

Example: the middleware logged in the user and the endpoint must know that the user has been logged in

Implementation

final Map<String, dynamic> data;