FolderConfiguration.fromJson constructor

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

Implementation

factory FolderConfiguration.fromJson(Map<String, dynamic> json) {
  return FolderConfiguration(
    action: (json['Action'] as String).toRetentionAction(),
    name: (json['Name'] as String).toFolderName(),
    period: json['Period'] as int?,
  );
}