toMap method

Map<String, dynamic> toMap()

Convert to map for platform channel communication

Implementation

Map<String, dynamic> toMap() {
  return {
    'networkKey': networkKey,
    'netKeyIndex': netKeyIndex,
    'appKeys': appKeys,
    'ivIndex': ivIndex,
    'sequenceNumber': sequenceNumber,
    'localAddress': localAddress,
  };
}