HierarchyGroup.fromJson constructor

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

Implementation

factory HierarchyGroup.fromJson(Map<String, dynamic> json) {
  return HierarchyGroup(
    arn: json['Arn'] as String?,
    hierarchyPath: json['HierarchyPath'] != null
        ? HierarchyPath.fromJson(
            json['HierarchyPath'] as Map<String, dynamic>)
        : null,
    id: json['Id'] as String?,
    levelId: json['LevelId'] as String?,
    name: json['Name'] as String?,
  );
}