fromMap static method

EdgeInsets fromMap(
  1. Map<String, Object> map
)

Implementation

static EdgeInsets fromMap(Map<String, Object> map) {
  return EdgeInsets.fromLTRB(
    double.parse(map['left'].toString()),
    double.parse(map['top'].toString()),
    double.parse(map['right'].toString()),
    double.parse(map['bottom'].toString()),
  );
}