updateMetadata method
void
updateMetadata({})
Update metadata.
Implementation
void updateMetadata({required String name, required String operatorName, required String countryCode, required String countryName, String? region}) {
final value = selected;
if (value == null || value.isSystem) return;
_update(
value.copyWith(
name: name,
operatorName: operatorName,
countryCode: countryCode,
countryName: countryName,
region: region,
clearRegion: region == null || region.isEmpty,
),
);
}