decode static method
Implementation
static UICollectionBlock? decode(dynamic json) {
if (json == null) {
return null;
}
if (json is! Map<String, dynamic>) {
return null;
}
return UICollectionBlock(
id: StringDecoder.decode(json['id']),
data: UICollectionBlockData.decode(json['data']),
);
}