fromJson static method
Implementation
static RecordKey? fromJson(json, {String? fallbackDomainId}) {
if (json == null) return null;
if (json is RecordKey) return json;
if (json is MKey) return json.recordKey;
final _json = "$json";
if (_json.contains("/")) {
return MKey.parsed("$json")!.recordKey;
} else {
return _parse(_json, fallbackDomainId: fallbackDomainId);
}
}