toMap property

Map<String, String?> get toMap

Implementation

Map<String, String?> get toMap {
  Map<String, String?> storeInfoMap = new Map<String, String?>();

  if (storeName != null) {
    storeInfoMap['storeName'] = storeName;
  }
  if (storeAppId != null) {
    storeInfoMap['storeAppId'] = storeAppId;
  }

  return storeInfoMap;
}