fromMap static method

SaveFileSecurityCheckStartingResponse? fromMap(
  1. Map<String, dynamic>? map, {
  2. EnumMethod? enumMethod,
})

Gets a possible SaveFileSecurityCheckStartingResponse instance from a Map value.

Implementation

static SaveFileSecurityCheckStartingResponse? fromMap(
  Map<String, dynamic>? map, {
  EnumMethod? enumMethod,
}) {
  if (map == null) {
    return null;
  }
  final instance = SaveFileSecurityCheckStartingResponse(
    cancelSave: map['cancelSave'],
    suppressDefaultPolicy: map['suppressDefaultPolicy'],
  );
  return instance;
}