GcsDestination.fromJson constructor

GcsDestination.fromJson(
  1. Object? j
)

Implementation

factory GcsDestination.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return GcsDestination(
    outputUriPrefix: switch (json['outputUriPrefix']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}