prevent pass null parameter in constructor dart code example
Example: prevent pass null parameter in constructor dart
assert(id != null, "A message ID is required.");
assert(content != null, "Message content is required.");
assert(id != null, "A message ID is required.");
assert(content != null, "Message content is required.");