BooleanCapability.fromJson constructor

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

Implementation

BooleanCapability.fromJson(Map<String, Object?> json)
    : enabled = json['enabled'] as bool;