BlockerDeclaration.fromJson constructor

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

Implementation

factory BlockerDeclaration.fromJson(Map<String, dynamic> json) {
  return BlockerDeclaration(
    name: json['name'] as String,
    type: (json['type'] as String).toBlockerType(),
  );
}