parseSize static method
Implementation
static NSize? parseSize(dynamic value) {
if (value == null) return null;
if (value is NSize) {
return value;
} else if (value is Map<String, dynamic>) {
return NSize.fromJson(value);
}
return null;
}