fromJson static method

UserModel fromJson(
  1. String json
)

Implementation

static UserModel fromJson(String json) {
  return ensureInitialized().decodeJson<UserModel>(json);
}