toJson method

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

Implementation

@override
num toJson(bool object) {
  return object ? 1 : 0;
}