asString property

String get asString

Implementation

String get asString {
  switch (this) {
    case UserProperty.userId:
      return "user_id";
    case UserProperty.name:
      return "name";
    case UserProperty.phone:
      return "phone";
    case UserProperty.email:
      return "email";
    case UserProperty.deviceToken:
      return "device_token";
  }
}