GetUploadResult.fromJson constructor

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

Implementation

factory GetUploadResult.fromJson(Map<String, dynamic> json) {
  return GetUploadResult(
    upload: json['upload'] != null
        ? Upload.fromJson(json['upload'] as Map<String, dynamic>)
        : null,
  );
}