Phone.fromJson constructor

Phone.fromJson(
  1. String json
)

Constructs a Phone instance from a json string.

Once created, no properties of an Phone object may be changed.

Implementation

factory Phone.fromJson(final String json) =>
    Phone.fromMap(jsonDecode(json) as Map<String, dynamic>);