Component.fromJson constructor
Implementation
factory Component.fromJson(Map<String, dynamic> json) {
return Component(
arn: json['arn'] as String?,
componentName: json['componentName'] as String?,
latestVersion: json['latestVersion'] != null
? ComponentLatestVersion.fromJson(
json['latestVersion'] as Map<String, dynamic>)
: null,
);
}