toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() {
  return {
    "timeoutMillis": timeoutMillis,
    "onForeground": onForeground,
    "onBackground": onBackground,
    "onApplicationStateChange": onApplicationStateChange,
  };
}