FileField.fromJson constructor

FileField.fromJson(
  1. dynamic json
)

Construct FileField that only represents file without including it. This constructor can be used for caching.

Implementation

factory FileField.fromJson(dynamic json) => _FileDataField(
      field: json["field"],
      filename: json["filename"],
      contentType: json["contentType"],
    );