getStoryMethod function
Method
getStoryMethod(
- Class target
Implementation
Method getStoryMethod(Class target) {
return Method(
(p0) => p0
..name = 'getStory'
..returns = const Reference('Story')
..body = Code(
getStoryWrapper(target),
),
);
}