toEntity method

RgbEntity toEntity({
  1. String? appId,
})

Implementation

RgbEntity toEntity({String? appId}) {
  return RgbEntity(
    r: (r != null) ? r : null,
    g: (g != null) ? g : null,
    b: (b != null) ? b : null,
    opacity: (opacity != null) ? opacity : null,
  );
}