CustomResourceColumnDefinition.fromJson constructor
Creates a CustomResourceColumnDefinition from JSON data.
Implementation
factory CustomResourceColumnDefinition.fromJson(Map<String, dynamic> json) {
final tempDescriptionJson = json['description'];
final tempFormatJson = json['format'];
final tempJsonPathJson = json['jsonPath'];
final tempNameJson = json['name'];
final tempPriorityJson = json['priority'];
final tempTypeJson = json['type'];
final String? tempDescription = tempDescriptionJson;
final String? tempFormat = tempFormatJson;
final String tempJsonPath = tempJsonPathJson;
final String tempName = tempNameJson;
final int? tempPriority = tempPriorityJson;
final String tempType = tempTypeJson;
return CustomResourceColumnDefinition(
description: tempDescription,
format: tempFormat,
jsonPath: tempJsonPath,
name: tempName,
priority: tempPriority,
type: tempType,
);
}