declaredName property
The name of the target dependency as declared in a hosted
block.
This may be null if no explicit name is present, for instance because the
hosted dependency was declared as a string (hosted: pub.example.org
).
Implementation
@JsonKey(name: 'name')
final String? declaredName;