Shapes.fromJson constructor

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

Implementation

factory Shapes.fromJson(Map<String, dynamic> json) {
  return Shapes(
    borderRadius: json['borderRadius'],
    borderWidth: json['borderWidth'],
    shadow: Shadow.fromJson(json['shadow']),
  );
}