Border.fromJson constructor

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

Implementation

factory Border.fromJson(Map<String, dynamic> json) {
  return Border(
    top: json["top"],
    bottom: json["bottom"],
    left: json["left"],
    right: json["right"],
  );
}