ResourceContent constructor
ResourceContent(
- Resource? resource, [
- String? _content
Implementation
ResourceContent(this.resource, [this._content]) {
if (resource == null && _content == null) {
throw StateError('Invalid arguments: resource and content are null');
}
}