FileLink.fromJson constructor
Parses a link from json.
Implementation
factory FileLink.fromJson(Map<String, Object?> json) => FileLink(
downloadUrl: Uri.parse(json['downloadUrl']! as String),
bytes: json['bytes'] as int?,
contentType: json['contentType'] as String?,
expiresAt: _time(json['expiresAt'] as String?),
);