FilePath.fromJson constructor

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

Creates a FilePath from JSON.

Implementation

factory FilePath.fromJson(Map<String, dynamic> json) {
  return FilePath(fileId: json['file_id'] as String);
}