DataTransfer.fromJson constructor

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

Implementation

factory DataTransfer.fromJson(Map<String, dynamic> json) {
  return DataTransfer(
    bytesTransferred: json['BytesTransferred'] as int?,
    objectsTransferred: json['ObjectsTransferred'] as int?,
    totalBytes: json['TotalBytes'] as int?,
    totalObjects: json['TotalObjects'] as int?,
  );
}