# UserFieldValue.fromJson constructor

UserFieldValue.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory UserFieldValue.fromJson(Map<String, dynamic> json) {
      String _type = json["_type"];
      switch (_type) {
        case "UserFieldDoubleValue":
          return UserFieldDoubleValue.fromJson(json);
        case "UserFieldStringValue":
          return UserFieldStringValue.fromJson(json);
        case "UserFieldIntValue":
          return UserFieldIntValue.fromJson(json);
        default:
          throw ArgumentError("Invalid polymorphic type: $_type");
      }
    }