SourceContext.fromJson constructor
SourceContext.fromJson(
- Object? j
Implementation
factory SourceContext.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return SourceContext(
fileName: switch (json['fileName']) {
null => '',
Object $1 => decodeString($1),
},
);
}