Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy committed Apr 8, 2024
1 parent c38b6f3 commit 1bf9b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frb_example/pure_dart/rust/src/api/dart_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl TranslatableStructWithDartCodeTwinNormal {
}
}

#[frb(opaque, dart_code = "static int dartCodeGetter => 123;")]
#[frb(opaque, dart_code = "static int get dartCodeGetter => 123;")]
pub struct OpaqueStructWithDartCodeTwinNormal;

impl OpaqueStructWithDartCodeTwinNormal {
Expand Down

0 comments on commit 1bf9b5e

Please sign in to comment.