DataRefModel.fromJson constructor
Constructs a new instance of DataRefModel,
from json
, which must be a valid JSON object. Throws if the conversion
fails.
Implementation
factory DataRefModel.fromJson(
Map<String, dynamic>? json,
) {
try {
return fromJsonOrNull(json)!;
} catch (e) {
assert(false, '$DataRefModel.fromJson: $e');
rethrow;
}
}