CloudStorageDirectUploadEntry.fromJson constructor

CloudStorageDirectUploadEntry.fromJson(
  1. Map<String, dynamic> jsonSerialization,
  2. SerializationManager serializationManager
)

Implementation

factory CloudStorageDirectUploadEntry.fromJson(
  Map<String, dynamic> jsonSerialization,
  _i1.SerializationManager serializationManager,
) {
  return CloudStorageDirectUploadEntry(
    id: serializationManager.deserialize<int?>(jsonSerialization['id']),
    storageId: serializationManager
        .deserialize<String>(jsonSerialization['storageId']),
    path: serializationManager.deserialize<String>(jsonSerialization['path']),
    expiration: serializationManager
        .deserialize<DateTime>(jsonSerialization['expiration']),
    authKey: serializationManager
        .deserialize<String>(jsonSerialization['authKey']),
  );
}