SigningImageFormat.fromJson constructor
Implementation
factory SigningImageFormat.fromJson(Map<String, dynamic> json) {
return SigningImageFormat(
defaultFormat: (json['defaultFormat'] as String).toImageFormat(),
supportedFormats: (json['supportedFormats'] as List)
.whereNotNull()
.map((e) => (e as String).toImageFormat())
.toList(),
);
}