WrittenFile.fromJson constructor

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

Read this payload from a decoded JSON object.

Implementation

factory WrittenFile.fromJson(Map<String, dynamic> json) => WrittenFile(
      path: json['path'] as String,
      etag: json['etag'] as String,
      sizeBytes: json['sizeBytes'] as int,
    );