ValidaComparison<T extends Comparable<T> >.fromJson constructor
Implementation
factory ValidaComparison.fromJson(Map<String, Object?> map) {
return ValidaComparison<T>(
more: map['more'] == null ? null : CompVal.fromJson<T>(map['more']),
less: map['less'] == null ? null : CompVal.fromJson<T>(map['less']),
moreEq: map['moreEq'] == null ? null : CompVal.fromJson<T>(map['moreEq']),
lessEq: map['lessEq'] == null ? null : CompVal.fromJson<T>(map['lessEq']),
useCompareTo: map['useCompareTo'] as bool?,
);
}