fromMap static method

Car fromMap(
  1. JsonMap map
)

Creates a new instance of this object from a JSON like map.

The map parameter is a JsonMap that contains the properties of this object.

Implementation

static Car fromMap(JsonMap map) => Car(
      sign: map["sign"] as String?,
      isRightSide: map["isRightSide"] as bool,
    );