toJson method

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

Implementation

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