BackgroundTypeFill.fromJson constructor

BackgroundTypeFill.fromJson(
  1. Map<String, dynamic> json
)

Creates a BackgroundTypeFill object from JSON.

Implementation

factory BackgroundTypeFill.fromJson(Map<String, dynamic> json) {
  return BackgroundTypeFill(
    fill: BackgroundFill.fromJson(json['fill']),
    darkThemeDimming: json['dark_theme_dimming'],
  );
}