fromJson method
Implementation
@override
OrdinalSortKey? fromJson(Map<String, dynamic>? json) {
if (json == null) return null;
return OrdinalSortKey(
(json['order'] as num).toDouble(),
name: json['name'],
);
}
@override
OrdinalSortKey? fromJson(Map<String, dynamic>? json) {
if (json == null) return null;
return OrdinalSortKey(
(json['order'] as num).toDouble(),
name: json['name'],
);
}