fromMap static method

SafDocumentFile fromMap(
  1. Map map
)

Implementation

static SafDocumentFile fromMap(Map<dynamic, dynamic> map) {
  return SafDocumentFile(
    uri: map['uri'],
    name: map['name'],
    isDir: map['isDir'] ?? false,
    length: map['length'] ?? 0,
    lastModified: map['lastModified'] ?? 0,
  );
}