CreateDownloadUrlBody.fromJson constructor

CreateDownloadUrlBody.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory CreateDownloadUrlBody.fromJson(Map<String, Object?> json) =>
    CreateDownloadUrlBody(
      expiresInSeconds: (json['expiresInSeconds'] as num).toInt(),
    );