ResourceConfiguration.fromJson constructor

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

Implementation

factory ResourceConfiguration.fromJson(Map<String, dynamic> json) {
  return ResourceConfiguration(
    computeType: (json['computeType'] as String).toComputeType(),
    volumeSizeInGB: json['volumeSizeInGB'] as int,
  );
}