Google is committed to advancing racial equity for Black communities. See how.

buildMetadata method

*<Null safety>*
  • @override

InspectMetadata buildMetadata (Map<String, dynamic>? metadataSource) override

Implementation

@override
InspectMetadata buildMetadata(Map<String, dynamic>? metadataSource) =>
    InspectMetadata(
      errors: metadataSource?['errors'] ?? [],
      componentUrl: metadataSource?['component_url'] ?? '',
      filename: metadataSource?['filename'] ?? '',
      timeStamp: metadataSource?['timestamp'] ?? 0,
    );