image property
Get the Metadata.image from the first tag in the body;s
Implementation
@override
String? get image {
final data = _jsonData;
if (data is List && data.isNotEmpty) {
return _imageResultToString(data.first['logo'] ?? data.first['image']);
} else if (data is Map) {
return _imageResultToString(
data.getDynamic('logo') ?? data.getDynamic('image'));
}
return null;
}
Implementation
String? image;