MeCard class

MeCard is a data file similar to vCard but used by NTT DoCoMo in Japan in QR code format for use with Cellular Phones. https://github.com/zxing/zxing/wiki/Barcode-Contents

Annotations
  • @immutable

Constructors

MeCard({String type = 'MECARD', List<MeTuple> fields = const <MeTuple>[]})
Create a custom MeCard
const
MeCard.contact({String? name, String? reading, String? tel, List<String>? tels, String? videophone, String? email, List<String>? emails, String? memo, DateTime? birthday, String? address, String? url, List<String>? urls, String? nickname})
Create a contact MeCard
factory
MeCard.wifi({required String ssid, String type = 'WPA', String? password, bool hidden = false})
Create a WIFI MeCard type can be WEP or WPA
factory

Properties

fields List<MeTuple>
Fields composing the MeCard
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
MeCard type
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Return the MeCard formatted content for this object
override

Operators

operator ==(Object other) bool
The equality operator.
inherited