ActionFileUploadResumeResponse2.fromJson constructor

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

Implementation

factory ActionFileUploadResumeResponse2.fromJson(Map<String, dynamic> json) => ActionFileUploadResumeResponse2(
    uploadId: (json['UploadId'] as String?) ?? '',
    resumable: (json['Resumable'] as bool?) ?? false,
    nextSequenceId: (json['NextSequenceId'] as num?)?.toInt() ?? 0,
    ended: (json['Ended'] as bool?),
    success: (json['Success'] as bool?),
    error: (json['Error'] as String?),
);