# EdgeInsets.fromJson constructor

EdgeInsets.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory EdgeInsets.fromJson(Map<String, dynamic> json) => EdgeInsets(
          top: json.containsKey("top") ? (json["top"] as num).toDouble() : 0.0,
          left: json.containsKey("left") ? (json["left"] as num).toDouble() : 0.0,
          bottom: json.containsKey("bottom")
              ? (json["bottom"] as num).toDouble()
              : 0.0,
          right:
              json.containsKey("right") ? (json["right"] as num).toDouble() : 0.0,
        );