ColabImage.fromJson constructor
ColabImage.fromJson(
- Object? j
Implementation
factory ColabImage.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ColabImage(
releaseName: switch (json['releaseName']) {
null => '',
Object $1 => decodeString($1),
},
description: switch (json['description']) {
null => '',
Object $1 => decodeString($1),
},
);
}