asMap method

Map asMap()

Implementation

Map asMap() {
  Map<String, dynamic> map = {};

  map["compress"] = compress;
  map["fileFormatsAndroid"] =
      fileFormatsAndroid?.map((e) => e.stringValue).toList();
  map["fileFormatsIOS"] = fileFormatsIOS?.map((e) => e.stringValue).toList();
  map["maxFileSize"] = maxFileSize;

  return map;
}