toJson method

  1. @override
int toJson(
  1. bool object
)

Implementation

@override
int toJson(bool object) => object ? 1 : 0;