optionsJson function

Map<String, Object?> optionsJson(
  1. Map<String, Object?>? options
)

Extracts the JSON config map from options, returning an empty map if null.

Implementation

Map<String, Object?> optionsJson(Map<String, Object?>? options) =>
    options ?? const {};