InstalledComponent.fromJson constructor
InstalledComponent.fromJson(
- Map<String, dynamic> json
)
Implementation
factory InstalledComponent.fromJson(Map<String, dynamic> json) {
return InstalledComponent(
componentName: json['componentName'] as String?,
componentVersion: json['componentVersion'] as String?,
isRoot: json['isRoot'] as bool?,
lifecycleState: (json['lifecycleState'] as String?)
?.toInstalledComponentLifecycleState(),
lifecycleStateDetails: json['lifecycleStateDetails'] as String?,
);
}