getDefaultWidthHeightImageFormat static method
Returns the SDK default image size and format used for automatically returned images.
Returns
- SizeAndFormat: configured default size and format.
Implementation
static SizeAndFormat getDefaultWidthHeightImageFormat() {
final OperationResult resultString = staticMethod(
'DefaultWidthHeightImageFormat',
'get',
);
return SizeAndFormat(
size: Size(
resultString['width'].toDouble(),
resultString['height'].toDouble(),
),
format: ImageFileFormatExtension.fromId(resultString['format']),
);
}