DataSetSummary.fromJson constructor
DataSetSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DataSetSummary.fromJson(Map<String, dynamic> json) {
return DataSetSummary(
arn: json['Arn'] as String?,
columnLevelPermissionRulesApplied:
json['ColumnLevelPermissionRulesApplied'] as bool?,
createdTime: timeStampFromJson(json['CreatedTime']),
dataSetId: json['DataSetId'] as String?,
importMode: (json['ImportMode'] as String?)?.toDataSetImportMode(),
lastUpdatedTime: timeStampFromJson(json['LastUpdatedTime']),
name: json['Name'] as String?,
rowLevelPermissionDataSet: json['RowLevelPermissionDataSet'] != null
? RowLevelPermissionDataSet.fromJson(
json['RowLevelPermissionDataSet'] as Map<String, dynamic>)
: null,
);
}