User.fromJson constructor

User.fromJson(
  1. Map<String, dynamic> json
)

Creates a User instance from a JSON map.

Implementation

factory User.fromJson(Map<String, dynamic> json) => _$UserFromJson(json);