Document constructor Null safety
- [dynamic data]
Creates an instance with an optional initial data.
If no argument is passed, data is null. Otherwise, it is the first argument.
Implementation
Document([this.data]);
Creates an instance with an optional initial data.
If no argument is passed, data is null. Otherwise, it is the first argument.
Document([this.data]);