docs property
List<DocumentData> ?
get
docs
Implementation
List<DocumentData>? get docs {
return (_json['docs'] as List?)
?.map((e) => DocumentData.fromJson(e as Map<String, dynamic>))
.toList();
}
set
docs
(List<DocumentData> ? value)
Implementation
set docs(List<DocumentData>? value) {
if (value == null) {
_json.remove('docs');
} else {
_json['docs'] = value.map((e) => e.toJson()).toList();
}
}