# toJson method

Map<String, dynamic> toJson({

1. ToJsonConfiguration? config,

})

## Implementation

    Map<String, dynamic> toJson({ToJsonConfiguration? config}) {
      config = config ?? ToJsonConfiguration();
      Map<String, dynamic> obj = <String, dynamic>{};
      obj["sbColorPrimary"] = sbColorPrimary.toString();
      obj["sbColorPrimaryDisabled"] = sbColorPrimaryDisabled.toString();
      obj["sbColorNegative"] = sbColorNegative.toString();
      obj["sbColorPositive"] = sbColorPositive.toString();
      obj["sbColorWarning"] = sbColorWarning.toString();
      obj["sbColorSecondary"] = sbColorSecondary.toString();
      obj["sbColorSecondaryDisabled"] = sbColorSecondaryDisabled.toString();
      obj["sbColorOnPrimary"] = sbColorOnPrimary.toString();
      obj["sbColorOnSecondary"] = sbColorOnSecondary.toString();
      obj["sbColorSurface"] = sbColorSurface.toString();
      obj["sbColorOutline"] = sbColorOutline.toString();
      obj["sbColorOnSurfaceVariant"] = sbColorOnSurfaceVariant.toString();
      obj["sbColorOnSurface"] = sbColorOnSurface.toString();
      obj["sbColorSurfaceLow"] = sbColorSurfaceLow.toString();
      obj["sbColorSurfaceHigh"] = sbColorSurfaceHigh.toString();
      obj["sbColorModalOverlay"] = sbColorModalOverlay.toString();
      return obj;
    }