promotedData property Null safety
An array of promoted results obtained from the applied query.
Implementation
List<Map> get promotedData {
if (this.raw != null && this.raw!['promoted'] is List<Map>) {
return this.raw!['promoted'];
}
return [];
}