BackgroundTypePattern.fromJson constructor

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

Parse from a json

Implementation

factory BackgroundTypePattern.fromJson(Map<String, dynamic> json) => BackgroundTypePattern(
  fill: BackgroundFill.fromJson(json['fill']),
  intensity: json['intensity'],
  isInverted: json['is_inverted'],
  isMoving: json['is_moving'],
);