Scope.fromJson constructor
Implementation
factory Scope.fromJson(Map<String, Object?> json) {
return Scope(
project: json[r'project'] != null
? ProjectDetails.fromJson(json[r'project']! as Map<String, Object?>)
: null,
type: json[r'type'] != null
? ScopeType.fromValue(json[r'type']! as String)
: null,
);
}