fromJson method

  1. @override
bool fromJson(
  1. int json
)

Implementation

@override
bool fromJson(int json) {
  return json == 1;
}