toMap method

Map toMap()

Implementation

Map<dynamic, dynamic> toMap() {
  return {
    'isVoiceCapable': isVoiceCapable,
    'isDataEnabled': isDataEnabled,
    'subscriptionsInfo': (subscriptionsInfo??[]).map((x) => x.toMap()).toList(),
    'isDataCapable': isDataCapable,
    'isMultiSimSupported': isMultiSimSupported,
    'isSmsCapable': isSmsCapable,
    'telephonyInfo': (telephonyInfo??[]).map((x) => x.toMap()).toList(),
  };
}