Shadow.fromJson constructor

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

Implementation

factory Shadow.fromJson(Map<String, dynamic> json) {
  return Shadow(
    color: json['color'],
    opacity: json['opacity'],
    blurRadius: json['blurRadius'],
    offset: json['offset'],
    intensity: json['intensity'],
  );
}