toJson method

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

Implementation

@override
int toJson(Color object) => object.value;