FilesPolicy.fromJson constructor

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

Implementation

factory FilesPolicy.fromJson(Map<String, dynamic> json) =>
    FilesPolicy(paths: ((json['paths'] as List?) ?? []).map((value) => FilePathRule.fromJson((value as Map).cast<String, dynamic>())));