ResourceInventory.fromJson constructor

ResourceInventory.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ResourceInventory.fromJson(Map<String, dynamic> json) {
  return ResourceInventory(
    platform: json['Platform'] as String?,
    platformVersion: json['PlatformVersion'] as String?,
    resourceArn: json['ResourceArn'] as String?,
    resourceId: json['ResourceId'] as String?,
    resourceOwningAccountId: json['ResourceOwningAccountId'] as String?,
    resourceType: (json['ResourceType'] as String?)?.toResourceType(),
  );
}