params property

Map<String, dynamic> get params

Implementation

Map<String,dynamic> get params {
  return map(file: (value) {
    return {
      "url": value.file.path,
      "type": 2
    };
  }, network: (value) {
    return {
      "url": value.uri.toString(),
      "type": 1
    };
  },);
}