fromMap static method

PostalCode 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 PostalCode fromMap(JsonMap map) => PostalCode(
      format: map["format"] as String,
      regExpPattern: map["regExpPattern"] as String,
    );