blob: 07d718ae267ff9801a6775de0b90e354dead8937 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:meta/meta.dart';
/// The Entity schema for a phone number
class PhoneNumberEntityData {
/// Phone number, e.g. 911, 1-408-111-2222
final String number;
/// Optional label to give for the phone entry, e.g. Cell, Home, Work...
final String label;
/// Constructor
PhoneNumberEntityData({
@required this.number,
this.label,
}) : assert(number != null && number.isNotEmpty);
}