Picture.fromJson constructor
Picture.fromJson(
- String source
It converts a JSON string into a Map object.
Args: source (String): The JSON string to be converted into a Picture object.
Implementation
factory Picture.fromJson(String source) =>
Picture.fromMap(json.decode(source) as Map<String, dynamic>);