Context.fromJson constructor
Implementation
factory Context.fromJson(Map<String, Object?> json) {
return Context(
id: (json[r'id'] as num?)?.toInt(),
name: json[r'name'] as String?,
scope: json[r'scope'] != null
? Scope.fromJson(json[r'scope']! as Map<String, Object?>)
: null,
);
}