RepoEntry.fromJson constructor

RepoEntry.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory RepoEntry.fromJson(Map<String, Object?> json) => RepoEntry(
  path: json['path'] as String,
  name: json['name'] as String,
  isDir: json['isDir'] == true,
  size: (json['size'] as num?)?.toInt(),
);