toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'api': api,
    'alwaysRefresh': alwaysRefresh,
    'labelKey': labelKey,
    'valueKey': valueKey,
    'options': options?.map((o) => o.toMap()).toList(),
  };
}