GrxPhoneNumber constructor

const GrxPhoneNumber({
  1. required String phone,
  2. required String countryCode,
})

Creates a new GrxPhoneNumber instance.

phone should contain only the national phone number without the country code. countryCode should contain the country code with or without the '+' prefix.

Implementation

const GrxPhoneNumber({required this.phone, required this.countryCode});