UsageExportLocation.fromJson constructor

UsageExportLocation.fromJson(
  1. Object? j
)

Implementation

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