FileInfo.fromJson constructor

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

Implementation

factory FileInfo.fromJson(Map<String, dynamic> json) => FileInfo(
  bucket: json['bucket'] as String,
  path: json['path'] as String,
  size: json['size'] as int,
  contentType: json['content_type'] as String,
);