OutputInfo.fromJson constructor

OutputInfo.fromJson(
  1. Object? j
)

Implementation

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