toJson method

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

Implementation

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