FilesUploadResult.fromJson constructor

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

Implementation

FilesUploadResult.fromJson(Map<String, dynamic> json) {
  uploaded =
      (json['uploaded'] as List).map((item) => item as String).toList();
  errors = Error.listFromJson(json['errors']);
}