ReferencedModel.fromJsonString constructor
ReferencedModel.fromJsonString(
- String jsonString
Constructs a new instance of ReferencedModel,
from jsonString
, which must be a valid JSON String. Throws if the
conversion fails.
Implementation
factory ReferencedModel.fromJsonString(
String jsonString,
) {
try {
return fromJsonStringOrNull(jsonString)!;
} catch (e) {
assert(false, '$ReferencedModel.fromJsonString: $e');
rethrow;
}
}