getFile method

dynamic getFile(
  1. String key
)

Retrieves file data associated with key from the request.

Implementation

dynamic getFile(String key) {
  var map = getAllData();
  if (map['FILE'] != null) {
    Object? res = map['FILE'];
    if (res is Map) {
      return res[key];
    }
  }
  return null;
}