toJson method

  1. @override
Map<String, Object?> toJson()

Implementation

@override
Map<String, Object?> toJson() => {
      if (enabled != null) 'enabled': enabled,
      if (limits != null) 'limits': encodeValue(limits),
      if (btAgingSpec != null) 'bt_aging_spec': encodeValue(btAgingSpec),
    };