RemoteFile.fromJson constructor

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

Parse from a json

Implementation

factory RemoteFile.fromJson(Map<String, dynamic> json) => RemoteFile(
      id: json['id'],
      uniqueId: json['unique_id'],
      isUploadingActive: json['is_uploading_active'],
      isUploadingCompleted: json['is_uploading_completed'],
      uploadedSize: json['uploaded_size'],
    );