Document constructor
Document({
- Map<
String, dynamic> ? data, - Map<
String, Link?> links = const {}, - ComponentMeta? meta,
- required ElementTypeEnum? type,
Returns a new Document instance.
Implementation
Document({
this.data,
Map<String, Link?> links = const {},
ComponentMeta? meta,
required ElementTypeEnum? type
}):super(type: type, links: links, meta: meta);