Skip to content

Commit

Permalink
Update gold files with $getPropKey changes
Browse files Browse the repository at this point in the history
  • Loading branch information
greglittlefield-wf committed Dec 1, 2023
1 parent 91e5627 commit 0840751
Show file tree
Hide file tree
Showing 7 changed files with 112 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,16 @@ class _$$BasicProps extends _$BasicProps
/// The default namespace for the prop getters/setters generated for this class.
@override
String get propKeyNamespace => 'BasicProps.';

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$BasicProps(accessMap, (map) => _$$BasicProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$BasicProps = getPropKey;

// Concrete component implementation mixin.
//
// Implements typed props/state factories, defaults `consumedPropKeys` to the keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,17 @@ class _$$BasicPartOfLibProps extends _$BasicPartOfLibProps
/// The default namespace for the prop getters/setters generated for this class.
@override
String get propKeyNamespace => 'BasicPartOfLibProps.';

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$BasicPartOfLibProps(
accessMap, (map) => _$$BasicPartOfLibProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$BasicPartOfLibProps = getPropKey;

abstract class _$BasicPartOfLibStateAccessorsMixin
implements _$BasicPartOfLibState {
@override
Expand Down Expand Up @@ -327,8 +336,17 @@ class _$$SubPartOfLibProps extends _$SubPartOfLibProps
/// The default namespace for the prop getters/setters generated for this class.
@override
String get propKeyNamespace => 'SubPartOfLibProps.';

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$SubPartOfLibProps(
accessMap, (map) => _$$SubPartOfLibProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$SubPartOfLibProps = getPropKey;

// Concrete component implementation mixin.
//
// Implements typed props/state factories, defaults `consumedPropKeys` to the keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,16 @@ abstract class _$$BasicProps extends UiProps
// If this generated mixin is undefined, it's likely because BasicProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of BasicProps, and check that $BasicProps is exported/imported properly.
BasicProps: $BasicProps.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$BasicProps(accessMap, (map) => _$$BasicProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$BasicProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,17 @@ abstract class _$$BasicPartOfLibProps extends UiProps
// If this generated mixin is undefined, it's likely because BasicPartOfLibPropsMixin is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of BasicPartOfLibPropsMixin, and check that $BasicPartOfLibPropsMixin is exported/imported properly.
BasicPartOfLibPropsMixin: $BasicPartOfLibPropsMixin.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$BasicPartOfLibProps(
accessMap, (map) => _$$BasicPartOfLibProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$BasicPartOfLibProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down Expand Up @@ -442,8 +451,17 @@ abstract class _$$SubPartOfLibProps extends UiProps
// If this generated mixin is undefined, it's likely because SubPartOfLibPropsMixin is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of SubPartOfLibPropsMixin, and check that $SubPartOfLibPropsMixin is exported/imported properly.
SubPartOfLibPropsMixin: $SubPartOfLibPropsMixin.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$SubPartOfLibProps(
accessMap, (map) => _$$SubPartOfLibProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$SubPartOfLibProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,16 @@ abstract class _$$BasicProps extends UiProps
// If this generated mixin is undefined, it's likely because BasicProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of BasicProps, and check that $BasicProps is exported/imported properly.
BasicProps: $BasicProps.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$BasicProps(accessMap, (map) => _$$BasicProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$BasicProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,16 @@ abstract class _$$CounterProps extends UiProps
// If this generated mixin is undefined, it's likely because ConnectPropsMixin is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of ConnectPropsMixin, and check that $ConnectPropsMixin is exported/imported properly.
ConnectPropsMixin: $ConnectPropsMixin.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$CounterProps(accessMap, (map) => _$$CounterProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$CounterProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down Expand Up @@ -148,7 +156,7 @@ class _$CounterComponent extends CounterComponent {
bool get $isClassGenerated => true;

@override
String get displayName => 'Counter';
String get displayName => '_Counter';

/// The default consumed props, comprising all props mixins used by CounterProps.
/// Used in `*ConsumedProps` methods if [consumedProps] is not overridden.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,16 @@ abstract class _$$SingleProps<T> extends UiProps
// If this generated mixin is undefined, it's likely because SingleProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of SingleProps, and check that $SingleProps is exported/imported properly.
SingleProps: $SingleProps.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$SingleProps(accessMap, (map) => _$$SingleProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$SingleProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down Expand Up @@ -277,8 +285,17 @@ abstract class _$$SingleWithBoundProps<S extends Pattern> extends UiProps
// If this generated mixin is undefined, it's likely because SingleWithBoundProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of SingleWithBoundProps, and check that $SingleWithBoundProps is exported/imported properly.
SingleWithBoundProps: $SingleWithBoundProps.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$SingleWithBoundProps(
accessMap, (map) => _$$SingleWithBoundProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$SingleWithBoundProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down Expand Up @@ -355,8 +372,16 @@ abstract class _$$DoubleProps<A, B> extends UiProps
// If this generated mixin is undefined, it's likely because DoubleProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of DoubleProps, and check that $DoubleProps is exported/imported properly.
DoubleProps: $DoubleProps.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$DoubleProps(accessMap, (map) => _$$DoubleProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$DoubleProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down Expand Up @@ -453,8 +478,17 @@ abstract class _$$ConcreteNoneProps extends UiProps
// If this generated mixin is undefined, it's likely because DoubleProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of DoubleProps, and check that $DoubleProps is exported/imported properly.
DoubleProps: $DoubleProps.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$ConcreteNoneProps(
accessMap, (map) => _$$ConcreteNoneProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$ConcreteNoneProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down Expand Up @@ -551,8 +585,17 @@ abstract class _$$ConcreteArgsProps<U, V extends Iterable> extends UiProps
// If this generated mixin is undefined, it's likely because DoubleProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of DoubleProps, and check that $DoubleProps is exported/imported properly.
DoubleProps: $DoubleProps.meta,
});

@override
String $getPropKey(void Function(Map m) accessMap) =>
_$getPropKey$_$$ConcreteArgsProps(
accessMap, (map) => _$$ConcreteArgsProps(map));
}

/// An alias for [getPropKey] so it can be referenced within the props class impl
/// without being shadowed by the `getPropKey` instance extension member.
const _$getPropKey$_$$ConcreteArgsProps = getPropKey;

// Concrete props implementation that can be backed by any [Map].
@Deprecated('This API is for use only within generated code.'
' Do not reference it in your code, as it may change at any time.')
Expand Down

0 comments on commit 0840751

Please sign in to comment.