DatasetContentStatus.fromJson constructor

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

Implementation

factory DatasetContentStatus.fromJson(Map<String, dynamic> json) {
  return DatasetContentStatus(
    reason: json['reason'] as String?,
    state: (json['state'] as String?)?.toDatasetContentState(),
  );
}