Dataset.fromJson constructor

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

Implementation

factory Dataset.fromJson(Map<String, dynamic> json) {
  return Dataset(
    creationDate: timeStampFromJson(json['CreationDate']),
    dataStorage: json['DataStorage'] as int?,
    datasetName: json['DatasetName'] as String?,
    identityId: json['IdentityId'] as String?,
    lastModifiedBy: json['LastModifiedBy'] as String?,
    lastModifiedDate: timeStampFromJson(json['LastModifiedDate']),
    numRecords: json['NumRecords'] as int?,
  );
}