toMap method

Map<String, dynamic> toMap()

Returns the AppleNotificationSound as a raw Map.

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'critical': critical,
    'name': name,
    'volume': volume,
  };
}