Message constructor Null safety

Message(
  1. {required int? index,
  2. required String? name,
  3. required String? messageObjectId,
  4. required int? size,
  5. FuncRef? handler,
  6. SourceLocation? location}
)

Implementation

Message({
  required this.index,
  required this.name,
  required this.messageObjectId,
  required this.size,
  this.handler,
  this.location,
});