Address.fromJson constructor

Address.fromJson(
  1. String source
)

It converts a JSON string into a Map object.

Args: source (String): The JSON string to be converted to a Map.

Implementation

factory Address.fromJson(String source) =>
    Address.fromMap(json.decode(source) as Map<String, dynamic>);